package com.enterprise.domain;

import java.util.Date;

public class News {
	private int id;
	private String title;
	private int bigClassName;
	private int secondClassName;
	private String content;
	private Date addDate;
	private String publisher;
	private long viewCounts;
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public String getTitle() {
		return title;
	}
	public void setTitle(String title) {
		this.title = title;
	}
	public int getBigClassName() {
		return bigClassName;
	}
	public void setBigClassName(int bigClassName) {
		this.bigClassName = bigClassName;
	}
	public int getSecondClassName() {
		return secondClassName;
	}
	public void setSecondClassName(int secondClassName) {
		this.secondClassName = secondClassName;
	}
	public String getContent() {
		return content;
	}
	public void setContent(String content) {
		this.content = content;
	}
	public Date getAddDate() {
		return addDate;
	}
	public void setAddDate(Date addDate) {
		this.addDate = addDate;
	}
	public String getPublisher() {
		return publisher;
	}
	public void setPublisher(String publisher) {
		this.publisher = publisher;
	}
	public long getViewCounts() {
		return viewCounts;
	}
	public void setViewCounts(long viewCounts) {
		this.viewCounts = viewCounts;
	}
	public News(int id, String title, int bigClassName, int secondClassName,
			String content, Date addDate, String publisher, long viewCounts) {
		super();
		this.id = id;
		this.title = title;
		this.bigClassName = bigClassName;
		this.secondClassName = secondClassName;
		this.content = content;
		this.addDate = addDate;
		this.publisher = publisher;
		this.viewCounts = viewCounts;
	}
	public News() {
		super();
		// TODO Auto-generated constructor stub
	}
	
}
